'use strict';

/**
 * Created by twer on 15/3/24.
 */
angular.module('personalcenter').controller('PersonalCenterCtrl', [
    '$scope',
    'SpaceVisitorService',
    '$routeParams',
    function ($scope, SpaceVisitorService, $routeParams) {
        var ownerId = $routeParams.userId;

        $scope.visitors = SpaceVisitorService.query({ownerId: ownerId});
    }]);
